#region Using Statements

using System.Collections.Generic;

using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.Graphics;
using ZombieHigh2.GameState;
using ZombieHigh2.Stats;

#endregion

namespace ZombieHigh2.Screens
{
    public class EndLevelScreen : IGameState
    {

        ContentManager content;
        LevelStats levelStats;
        SpriteFont spriteFont;
        SpriteBatch spriteBatch;

        public ContentManager Content { get { return content; } }
        public bool IsPaused { get { return false; } }

        public EndLevelScreen(ContentManager content, LevelStats levelStats)
        {
            this.content = content;
            this.levelStats = levelStats;
        }

        public void LoadGraphics(GraphicsDevice device)
        {
            spriteFont = content.Load<SpriteFont>(@"Data\Fonts\EndLevel");

            spriteBatch = new SpriteBatch(device);
        }

        public void Load()
        {
        }

        public void UnloadGraphics()
        {
        }

        public void Update(GameTime gameTime)
        {
        }

        public void Draw(GraphicsDevice device)
        {
            
            device.Clear(Color.Black);
            spriteBatch.Begin(SpriteBlendMode.AlphaBlend, SpriteSortMode.Immediate, SaveStateMode.SaveState);
            spriteBatch.DrawString(spriteFont, "Total Kills: ", new Vector2(100, 200), Color.Red);
            spriteBatch.DrawString(spriteFont, "Total Hits: ", new Vector2(100, 300), Color.Red);
            spriteBatch.DrawString(spriteFont, "Completion Time: ", new Vector2(100, 400), Color.Red);
            spriteBatch.End();
        }
    }
}
